import {debounce} from "./utils"

export const itemListenerMixin = {
    mounted(){
        const refresh = debounce(this.$refs.scroll.refresh,100);
        this.$bus.$on("itemImageLoad", () => {
            refresh();
        });
    }
}

